Page({
    data: {
        slides: [{
                image: '../../images/微信图片1.jpg',
                text1: '玩偶熊',
                text2: '看起来身心疲惫的超大玩偶熊',
                tags: ["玩偶"]
            },
            {
                image: '../../images/微信图片4.jpg',
                text1: '布莱克',
                text2: '西装革履，准备约会',
                tags: ["生活"]
            },
            {
                image: '../../images/微信图片10.jpg',
                text1: '袋熊',
                text2: '澳大利亚特有的动物',
                tags: ["动物"]
            }
        ],
        indicatorDots: true,
        autoplay: true,
        interval: 3000,
        duration: 500
    },
    takePhoto() {
        // wx.showToast({
        //     title: '拍照功能未实现',
        //     icon: 'none'
        // });
        wx.navigateTo({
            url: '/pages/pyq/pyq'
        });
    },
    likePost() {
        wx.showToast({
            title: '点赞成功',
            icon: 'success'
        });
    },
    commentPost() {
        wx.navigateTo({
            url: '/pages/map/map'
        });
    }
});